package com.demo.redis;


/**
 * @author wangfengchen
 */
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "redis")
@Data
public class RedisProperty {

  private String mode;
  private String address;
  private Integer port;
  private String password;
  private String username;
  private Integer database;
  private String masterName;
  private boolean ssl;
  private Integer poolSize;
  private Integer connectionMinimumIdleSize;
  private Integer idleTimeout;


}
